Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace --strict command-line option with --strict-markers #95

Merged
merged 1 commit into from
Mar 16, 2022

Conversation

henry0312
Copy link
Owner

@henry0312 henry0312 commented Mar 16, 2022

https://docs.pytest.org/en/latest/deprecations.html#the-strict-command-line-option

$ pytest -s tests
../../../../../../../../../Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195
  /Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195: PytestRemovedIn8Warning: The --strict option is deprecated, use --strict-markers instead.
    self.issue_config_time_warning(

@henry0312 henry0312 force-pushed the fix_strict_markers branch from b641f5f to 848c761 Compare March 16, 2022 03:00
https://docs.pytest.org/en/latest/deprecations.html#the-strict-command-line-option
```
$ pytest -s tests
../../../../../../../../../Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195
  /Users/henry/.pyenv/versions/3.9.10/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/_pytest/config/__init__.py:1195: PytestRemovedIn8Warning: The --strict option is deprecated, use --strict-markers instead.
    self.issue_config_time_warning(
```
@henry0312 henry0312 force-pushed the fix_strict_markers branch from 848c761 to 503adc7 Compare March 16, 2022 03:01
@henry0312 henry0312 merged commit d431a5d into master Mar 16, 2022
@henry0312 henry0312 deleted the fix_strict_markers branch March 16, 2022 03:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant